home *** CD-ROM | disk | FTP | other *** search
Wrap
addon { if ($1 != $null) ctcp $nc($1) ADDON elseif (($query($active)) || ($chan($active))) ctcp $active ADDON else iecho Syntax: /addon <nick|chan> } ame if ($mychans) describe $mychans $1- amsg if ($mychans) msg $mychans $1- cget { if ($2 != $null) { ctcp $nc($1) CDCC SEND #$2 if (%autoxdcc == on) set %xdccnicks $addtok(%xdccnicks,$nc($1),32) } elseif ((($query($active)) || ($chan($active))) && ($1 != $null)) ctcp $active CDCC SEND #$1 else iecho Syntax: /cget [nick|chan] <pack> } chat dcc chat $nc($$1) clist { if ($1 != $null) ctcp $nc($1) CDCC LIST elseif (($query($active)) || ($chan($active))) ctcp $active CDCC LIST else iecho Syntax: /clist [nick|chan] } ctcp { if ($0 < 2) { iecho Syntax: /ctcp <nick|channel> <request> return } set %ctcpsent -> [ctcp( $+ $1 $+ )] $upper($2) $3- if ($form(ircn,ctcp)) iiecho $readini %formats ircn ctcp else iiecho $sc(-) $+ > [[ $+ $sc(ctcp) $+ ( $+ $hc($1) $+ )] $upper($2) $3- if (($2 == ping) && ($3 == $null)) qctcp $1 PING $ticks else qctcp $1 $upper($2) $3- } dcc { if ($1 == send) { dcc $1- if (($dialog(ircN.dccstatus) == $null) && (%dccstatus == on)) dccstatus on } elseif ($1 == chat) dcc $1- elseif ($1- != $null) dcc $1- else { if (($send(0) == 0) && ($get(0) == 0)) { iecho Nothing on DCC list. return } iiecho . $+ $str(-,65) $+ . iiecho $vl $fix(5,Dnum) $fix(5,Type) $fix(10,Nick) $fix(8,Status) $fix(6,Kps) $fix(3,%) $fix(13,Filename) $fix(6,Size) $vl iiecho $vl $+ $str(-,65) $+ $vl set %i.dcc 0 :start inc %i.dcc if ($get(%i.dcc) != $null) { if (($get(%i.dcc).cps == n/a) || ($get(%i.dcc).cps == 0)) set %tmp.dcc 0.00 else set %tmp.dcc $kps($get(%i.dcc).cps) iiecho $vl $lfix(2,$chr(35)) $+ $fix(3,%i.dcc) $fix(5,GET) $fix(10,$hc($get(%i.dcc))) $fix(8,$get(%i.dcc).status) $fix(6,%tmp.dcc) $fix(3,$get(%i.dcc).pc) $fix(13,$hc($get(%i.dcc).file)) $fix(6,$alof($get(%i.dcc).size)) $vl goto start } dec %i.dcc set %j.dcc 0 :start2 inc %j.dcc inc %i.dcc if ($send(%j.dcc) != $null) { if ($send(%j.dcc).cps == n/a) || ($send(%j.dcc).cps == 0) set %tmp.dcc 0.00 else set %tmp.dcc $kps($send(%j.dcc).cps) iiecho $vl $lfix(2,$chr(35)) $+ $fix(3,%i.dcc) $fix(5,SEND) $fix(10,$hc($send(%j.dcc))) $fix(8,$send(%j.dcc).status) $fix(6,%tmp.dcc) $fix(3,$send(%j.dcc).pc) $fix(13,$hc($send(%j.dcc).file)) $fix(6,$alof($send(%j.dcc).size)) $vl goto start2 } iiecho ' $+ $str(-,65) $+ ' } } describe { if ($0 < 2) return if ($1 ischan) { if ($show) { if ($form(ircN,describe)) $readini %formats ircN describe else echo $colour(Action) -ti2 $1 * $pst($me,$1) $2- } .describe $1- } elseif ($chr(44) isin $1) { set %i.describe 0 :start inc %i.describe if ($gettok($1,%i.describe,44) ischan) { if ($show) { if ($form(ircN,multidescribe)) $readini %formats ircN multidescribe else echo $colour(Action) -ti2 $gettok($1,%i.describe,44) * $pst($me,$gettok($1,%i.describe,44)) $2- } if (%efnet.hybrid6) .describe $gettok($1,%i.describe,44) $2- goto start } elseif (($gettok($1,%i.describe,44) != $null) && ($left($gettok($1,%i.describe,44),1) != $chr(61))) { if ($show) { if ($form(ircN,multiprivdescribe)) $readini %formats ircN multiprivdescribe else echo $colour(Action) -ai2 $sc(-) $+ > [[ $+ $sc(act) $+ ( $+ $hc($gettok($1,%i.describe,44)) $+ )] * $me $2- } if (%efnet.hybrid6) .describe $gettok($1,%i.describe,44) $2- goto start } if (%efnet.hybrid6 == $false) .describe $1- } else { if ($show) { if ($form(ircN,privdescribe)) $readini %formats ircN privdescribe else echo $colour(Action) -ai2 $sc(-) $+ > [[ $+ $sc(act) $+ ( $+ $hc($1) $+ )] * $me $2- } .describe $1- } set %msgsent -> [act( $+ $1 $+ )] * $me $2- } m msg $nc($1) $2- mm { if (%efnet.hybrid6) { iecho Sorry, this command can not be used on HYBRID 6 servers. return } if ($1 != $null) { unset %tmp.mm set %i.mm 0 :start inc %i.mm if ($nick(#,%i.mm) != $null) { set %tmp.mm $addtok(%tmp.mm,$nick(#,%i.mm),44) goto start } mmsg %tmp.mm $1- set %msgsent -> [msg( $+ # $+ )] $1- iiecho $sc(-) $+ > [[ $+ $sc(msg) $+ ( $+ $ac(#) $+ )] $1- } else iecho Syntax: /mm <message> } me { if ($chan) { if ($show) { if ($form(ircN,action)) $readini %formats ircN action else echo $colour(Action) -tai2 * $pst($me,$chan) $$1- } .me $$1- } else me $$1- } msg { if ($0 < 2) return if ($1 ischan) { if ($show) { if ($form(ircN,say)) $readini %formats ircN say else echo $colour(Own) -ti2 $1 < $+ $pst($me,$1) $+ > $2- } .msg $1- } elseif ($chr(44) isin $1) { set %i.msg 0 :start inc %i.msg if ($gettok($1,%i.msg,44) ischan) { if ($show) { if ($form(ircN,multisay)) $readini %formats ircN multisay else echo $colour(Own) -ti2 $gettok($1,%i.msg,44) < $+ $pst($me,$gettok($1,%i.msg,44)) $+ > $2- } if (%efnet.hybrid6) .msg $gettok($1,%i.msg,44) $2- goto start } elseif (($gettok($1,%i.msg,44) != $null) && ($left($gettok($1,%i.msg,44),1) != $chr(61))) { if ($show) { if ($form(ircN,multimsg)) $readini %formats ircN multimsg else iiecho $sc(-) $+ > [[ $+ $sc(msg) $+ ( $+ $hc($gettok($1,%i.msg,44)) $+ )] $2- } if (%efnet.hybrid6) .msg $gettok($1,%i.msg,44) $2- goto start } if (%efnet.hybrid6 == $false) .msg $1- } elseif ($left($1,1) == $chr(61)) { if (($chat($getright($1))) || $fserv($getright($1))) { if ($show) msg $1- else .msg $1- } } else { if (($1 != $active) && ($me !ison $1)) { set %msgsent -> [msg( $+ $1 $+ )] $2- if (($query($1)) && ($show)) msg $1- elseif ($show) { if ($form(ircN,msg)) $readini %formats ircN msg else iiecho $sc(-) $+ > [[ $+ $sc(msg) $+ ( $+ $hc($1) $+ )] $2- .msg $1- } else .msg $1- } else msg $1- } } n notice $1- names { set %jstats on if ($1 != $null) .quote names $1- else .quote names # } notice { if ($0 < 2) return set %notsent -> [not( $+ $1 $+ )] $2- if ($1 ischan) { if ($show) { if ($form(ircN,channotice)) $readini %formats ircN channotice else echo $colour(Notice) -ti2 $1 - $+ $pst($me,$1) $+ : $+ $1 $+ - $2- } .notice $1- } elseif ($chr(44) isin $1) { set %i.notice 0 :start inc %i.notice if ($gettok($1,%i.notice,44) ischan) { if ($show) { if ($form(ircN,multichannotice)) $readini %formats ircN multichannotice else echo $colour(Notice) -ti2 $gettok($1,%i.notice,44) - $+ $pst($me,$gettok($1,%i.notice,44)) $+ : $+ $gettok($1,%i.notice,44) $+ - $2- } if (%efnet.hybrid6) .notice $gettok($1,%i.notice,44) $2- goto start } elseif (($gettok($1,%i.notice,44) != $null) && ($left($gettok($1,%i.notice,44),1) != $chr(61))) { if ($show) { if ($form(ircN,multinotice)) iiecho $readini %formats ircN multinotice else iiecho $sc(-) $+ > [[ $+ $sc(not) $+ ( $+ $hc($gettok($1,%i.notice,44)) $+ )] $2- } if (%efnet.hybrid6) .notice $gettok($1,%i.notice,44) $2- goto start } if (%efnet.hybrid6 == $false) .notice $1- } else { if ($show) { if ($form(ircn,notice)) iiecho $readini %formats ircn notice else iiecho $sc(-) $+ > [[ $+ $sc(not) $+ ( $+ $hc($1) $+ )] $2- } .notice $1- } } ping { if ($1 != $null) ctcp $nc($1) PING elseif (($query($active)) || ($chan($active))) ctcp $active PING else iecho Syntax: /ping <nick|chan> } q query $$1 say { if ($active == @ircII) { msg %ircIIchan $1- echo -ti2 @ircII < $+ $pst($me,%ircIIchan) $+ : $+ %ircIIchan $+ > $1- } elseif ($chan ischan) msg $chan $1- else say $1- } sping { set %lagtmp $1- if ($1 == $null) set %lagtmp $server set %slagtmp on set %slag $ticks .quote time %lagtmp } send dcc send $nc($$1) $2- svinfo $iif($1,msg,say) $1 %iver has been used %uses times for $b($rsc2($duration($mpy(%pong,60)))) online. Currently on $b(%irc.network) - Up for $duration($div($ticks,1000)) $+ . Currently $full-date $+ . uptime $iif($1,msg,say) $1 Time is $atime $+ , computer has been up for $rsc2($duration($rrpt($ticks))) usage $iif($1,msg,say) $1 I have used my copy of %iver online for a total of $rsc2($duration($mpy(%pong,60))) w whois $1- who { if ($1 != $null) { if ($show) { if ($form(who,start)) { set %whomask $1 iiecho $readini %formats who start unset %whomask } else iiecho .who of $hc($1) $str(-,40) set %whochan on } .who $1- } else { if ($show) { if ($form(who)) { set %whomask # iiecho $readini %formats who start unset %whomask } else iiecho .who of $hc(#) $str(-,40) set %whochan on } .who # } } whois { if (%idlewhois == on) wii $1 else wi $1- } whowas { set %whowas $addtok(%whowas,$$1,44) .quote whowas $1- } wi { set %whois $addtok(%whois,$$1,44) .quote whois $1- } wii { set %whois $addtok(%whois,$$1,44) .quote whois $1 $1 } ww whowas $1- ver { if ($1 != $null) ctcp $nc($1) VERSION elseif (($query($active)) || ($chan($active))) ctcp $active VERSION else iecho Syntax: /ver [nick|chan] } xget { if ($2 != $null) { ctcp $nc($1) XDCC SEND #$2 if (%autoxdcc == on) set %xdccnicks $addtok(%xdccnicks,$nc($1),32) } elseif ((($query($active)) || ($chan($active))) && ($1 != $null)) ctcp $active XDCC SEND #$1 else iecho Syntax: /xget [nick|chan] <pack> } xlist { if ($1 != $null) ctcp $nc($1) XDCC LIST elseif (($query($active)) || ($chan($active))) ctcp $active XDCC LIST else iecho Syntax: /xlist [nick|chan] }